package com.tywj.buscustomerapp.utils;

import com.tywj.buscustomerapp.model.bean.MyTicketBean;

import java.util.Comparator;

public class SortComparatorDown implements Comparator{
    @Override
    public int compare(Object o1, Object o2) {
        MyTicketBean a = (MyTicketBean) o1;
        MyTicketBean b = (MyTicketBean) o2;

        return (b.getBusTime().compareTo(a.getBusTime()));
    }
}
